package com.ddstation.onsitelaw.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.math.BigDecimal;

@Data
@Table(name = "ma_invs_drug_detail", schema = "2dwx")
public class MaInvsDrugDetailEntity {

    @Id
    @Column(name = "id")
    private int id;

    @Column(name = "DRUG_ID")
    private Integer drugId;

    @Column(name = "DRUG_NAME")
    private String drugName;

    @Column(name = "SPECIFICATION")
    private String specification;

    @Column(name = "MANUFACTURER")
    private String manufacturer;

    @Column(name = "STOCK_KEEPING_UNIT")
    private String stockKeepingUnit;

    @Column(name = "RETAIL_PRICE")
    private BigDecimal retailPrice;

    @Column(name = "WHOLESALE_PRICE")
    private BigDecimal wholesalePrice;

    @Column(name = "REGISTER_CODE")
    private String registerCode;

    @Column(name = "BAR_CODE")
    private String barCode;

    @Column(name = "PRICE_TREND")
    private String priceTrend;
}
